import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 导入有赞组件库
import Vant, { Lazyload } from 'vant'
// import 'vant/lib/index.css'
//  定制主体需要用less格式
import 'vant/lib/index.less'
import './styles/index.less'
import 'amfe-flexible'

// 导入自定义插件
import plugins from './utils/plugins'
// 挂载注册
Vue.use(plugins)
// 图片懒加载
Vue.use(Lazyload)
Vue.use(Vant)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
